package cn.iocoder.yudao.module.of.controller.admin.taskapprovals.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 任务审批(下发)新增/修改 Request VO")
@Data
public class TaskApprovalSaveReqVO {

    @Schema(description = "主任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23811")
    @NotNull(message = "主任务编号不能为空")
    private Long taskId;

    @Schema(description = "任务的审批状态：1待审批、2审批通过、3审批不通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "任务的审批状态：1待审批、2审批通过、3审批不通过不能为空")
    private Integer approvalStatus;

    @Schema(description = "审批意见")
    private String approvalOpinion;


}